package com.smartleanx.module.hrm.controller.admin.employee.growth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 员工成长轨迹新增/修改 Request VO")
@Data
public class EmployeeGrowthRecordSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "员工id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long employeeId;

    @Schema(description = "表彰类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "表彰类型不能为空")
    private String action;

    @Schema(description = "表彰内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "表彰内容不能为空")
    private String content;

    @Schema(description = "生效时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime effectiveTime;

}
